﻿using AutoMapper;
using T_settlement.API.Application.Command.OutputCommand;
using T_settlement.API.Application.Command.settlementCommand;
using T_settlement.Domain;

namespace T_settlement.API.Extensions
{
    public class OutputAuto:Profile 
    {
        public OutputAuto()
        {
            //添加销项发票管理
            CreateMap<AddOutputCommand, Output>().ReverseMap();
            //修改销项发票管理
            CreateMap<UpdateOutputCommand, Output>().ReverseMap();
        }
    }
}
